package com.pzhu.record.mapper;

import com.pzhu.record.entity.Graduation;
import com.pzhu.record.entity.Page;

import java.util.List;

public interface GraduationMapper {
    int insert(Graduation record);

    int insertSelective(Graduation record);

    /**
     * 批量增加
     *
     * @param graduationList
     */
    int insertBatch(List<Graduation> graduationList);

    /**
     * 批量更新
     *
     * @param graduationList
     */
    int updateBatch(List<Graduation> graduationList);

    /**
     * 查询数据列表
     *
     * @return 分页、搜索数据列表
     */
    public List<Graduation> selectPageList(Page<Graduation> bbsuserPage);

    /**
     * 查询总记录数
     *
     * @return 总记录数
     */
    public Integer selectPageCount(Page<Graduation> graduationPage);

}